package com.example.hotelrear.service.impl;

import com.example.hotelrear.entity.Store;
import com.example.hotelrear.mapper.StoreMapper;
import com.example.hotelrear.service.StoreService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author FengXiao
 * @since 2023-08-28
 */
@Service
public class StoreServiceImpl extends ServiceImpl<StoreMapper, Store> implements StoreService {
    @Resource
    private StoreMapper storeMapper;
    public Store findstoreName(String storeName){
        return storeMapper.findstoreName(storeName);
    };
}
